home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
sort.arc
/
sortfile.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-03-30
|
1KB
|
41 lines
/******************************************************************************
* *
* sortfile.h version 1.0 of 22 Januari 1989 (C) L.J.M. de Wit 1989 *
* *
* This software may be used and distributed freely if not used commercially *
* and the originator (me) is mentioned in the source (just leave this 9 line *
* header intact). *
* *
******************************************************************************
*
* sortfile.h: external definitions for the sortfile stdio package.
*
* To enable the speeded up std I/O routines, the BESTIO symbol must be
* #define'd (with -dBESTIO in the LC1 compilation phase when using Lattice C)
* and sortfile used when linking.
* To use the standard stdio package, don't define BESTIO and don't link with
* sortfile.
*/
#ifdef BESTIO
#define fopen stopen
#define fgets stgets
#define fputs stputs
#define fclose stclose
#define setbuffer stbuffer
extern FILE *stopen();
extern char *stgets();
extern void stputs();
extern void stbuffer();
extern int stclose();
extern void bestio();
extern void exit();
#else not BESTIO
#define bestio(s)
#endif BESTIO